CC = g++
CFLAGS = -c \
	-I /usr/include/php/ \
	-I /usr/include/php/main/ \
	-I /usr/include/php/Zend/ \
	-I /usr/include/php/TSRM/ \
	-Wall -g
LDFLAGS = -L /home/colin/trunk/php/php5.4/php-5.4.13/libs/ -lphp5
all: php_emb.cpp
	$(CC) -o php_emb.o php_emb.cpp $(CFLAGS)
	$(CC) -o php_emb php_emb.o $(LDFLAGS)

fsof_pcap:main.cpp
	g++ main.cpp -o $@ -lpcap
